<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="" lang="en"><!--<![endif]--><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">

    <title><?php echo CHtml::encode($this->pageTitle); ?></title>

    <meta charset="utf-8">
    <meta name="description" content="">
    <meta name="author" content="">
    <meta name="viewport" content="width=device-width,initial-scale=1">

    <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/reset.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/text.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/buttons.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/theme-default.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/login.css" type="text/css" />
  </head>

  <body>

    <div id="login">
      <div id="login_panel">
        <?php
        $form = $this->beginWidget('CActiveForm', array(
            'id' => 'login-form',
            'enableClientValidation' => true,
            'clientOptions' => array(
                'validateOnSubmit' => true,
            ),
        ));
        ?>
        <div class="login_fields">
          <div class="field">
            <label><?php echo Yii::t('main', 'login.username'); ?></label>
            <?php echo $form->textField($model, 'username'); ?>
            <?php echo $form->error($model, 'username'); ?>
          </div>

          <div class="field">
            <label><?php echo Yii::t('main', 'login.password'); ?></label>
            <?php echo $form->passwordField($model, 'password'); ?>
            <?php echo $form->error($model, 'password'); ?>

          </div>

          <div class="row rememberMe">
            <?php echo $form->checkBox($model, 'rememberMe', array('style'=>'width: 20px;')); ?>
            <label><?php echo Yii::t('main', 'login.rememberMe'); ?></label>
            <?php echo $form->error($model, 'rememberMe'); ?>
          </div>
        </div> <!-- .login_fields -->

        <div class="login_actions">
          <button type="submit" class="btn btn-primary" tabindex="3"><?php echo Yii::t('main', 'login') ?></button>

        </div>
        <?php $this->endWidget(); ?>
      </div> <!-- #login_panel -->
    </div> <!-- #login -->

    <script src="<?php echo Yii::app()->baseUrl; ?>/js/all.js"></script>



  </body></html>